﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="PublishPost.aspx.cs" Inherits="WXYW.PublishPost" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
新增新闻/公告
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ButtonPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContentPlaceHolder" runat="server">
<table width="100%" style="line-height:30px">
    <tr>
        <td style="width:10%">新闻标题:</td>
        <td style="width:90%"><asp:TextBox ID="TitleTxtBox" runat="server" Width="95%"></asp:TextBox></td>
    </tr>
    <tr>
        <td>公告内容:</td>
        <td>
            <asp:TextBox ID="ContentTxtBox" runat="server" TextMode="MultiLine" Width="95%" Rows="15">
            </asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="width:10%">关键字:</td>
        <td style="width:90%"><asp:TextBox ID="KeywordsTxtBox" runat="server" Width="95%"></asp:TextBox></td>
    </tr>
</table>
<table width="100%" style="line-height:30px">
    <tr>
        <td style="width:10%">公告类型:</td>
        <td style="width:10%">
            <asp:DropDownList ID="PostTypeDDL" runat="server" Width="95%"></asp:DropDownList>
        </td> 
        <td style="width:10%">公告来源:</td>
        <td style="width:40%">
            <asp:TextBox ID="SourceTxtBox" runat="server" Width="95%"></asp:TextBox>
        </td>
        <td style="width:10%">公告对象</td>
        <td style="width:20%">
            <asp:DropDownList ID="TargetDDL" runat="server" Width="50%">
                <asp:ListItem Text="客户" Value="客户"></asp:ListItem>
                <asp:ListItem Text="内部" Value="内部"></asp:ListItem>
            </asp:DropDownList>
        </td>
    </tr>
    <tr align="right">
        <td colspan="6">
            作者: <%= WXYW.ContextService.CurrentAccount.ContactPerson %>
        </td>
    </tr>
    <tr align="right">
        <td colspan="6">
            发布日期: <%= DateTime.Now.ToString("yyyy-MM-dd") %>
        </td>
    </tr>
    <tr align="center">
        <td colspan="6">
            <asp:Button ID="PublisBtn" runat="server" Text="发布" Width="80px" 
                onclick="PublisBtn_Click" />
        </td>
    </tr>
</table>
</asp:Content>
